import request from '@/utils/request'

// 部门效能分析
export function deptEfficiency(params) { 
    return request({
        url: '/system/statistical/supervise/realtime/new/efficiency/dept',
        method: 'get',
        params: params,
    })
}

// 街镇效能分析
export function deptPatrol(params) {
    return request({
        url: '/system/statistical/supervise/realtime/new/efficiency/street',
        method: 'get',
        params: params,
    })
}

// 效能监管-类型效能分析
export function personalPatrol(params) {
    return request({
        url: '/system/statistical/supervise/realtime/new/efficiency/categoryCode',
        method: 'get',
        params: params,
    })
}

// 案件来源办理分析
export function personalEfficiency(params) {
    return request({
        url: '/system/statistical/supervise/realtime/new/efficiency/sourceCode',
        method: 'get',
        params: params,
    })
}

// 效能统计详情
export function deptEfficiencyDetailed(params) {
    return request({
        url: '/system/statistical/supervise/realtime/new/efficiency/details',
        method: 'get',
        params: params,
    })
}
// 部门满意度排行
export function branchSatisfied(params) {
    return request({
        url: 'system/statistical/supervise/realtime/new/satisfaction/dept',
        method: 'get',
        params: params,
    })
}
// 街镇满意度排行
export function streetSatisfied(params) {
    return request({
        url: 'system/statistical/supervise/realtime/new/satisfaction/street',
        method: 'get',
        params: params,
    })
}
// 不满意案件分类
export function dissatisfiedCase(params) {
    return request({
        url: 'system/statistical/supervise/realtime/new/satisfaction/category',
        method: 'get',
        params: params,
    })
}
// 考核详情
export function assessmentDetails(params) {
    return request({
        url: 'system/statistical/supervise/realtime/new/satisfaction/details',
        method: 'get',
        params: params,
    })
}
// 业务承载-部门人均案件量
export function branchBusiness(params) {
    return request({
        url: 'system/statistical/supervise/realtime/new/business/dept',
        method: 'get',
        params: params,
    })
}
// 业务承载-镇街人均案件量
export function streetBusiness(params) {
    return request({
        url: 'system/statistical/supervise/realtime/new/business/street',
        method: 'get',
        params: params,
    })
}
// 风险预警-投诉类案件分类分析
export function riskComplaint(params) {
    return request({
        url: 'system/statistical/supervise/realtime/new/risk/category',
        method: 'get',
        params: params,
    })
}
// 风险预警-排行前10的重复投诉件
export function riskTop(params) {
    return request({
        url: 'system/statistical/supervise/realtime/new/risk/repeat',
        method: 'get',
        params: params,
    })
}
// 风险预警-风险工单列表
export function riskList(params) {
    return request({
        url: 'system/statistical/supervise/realtime/new/risk/list',
        method: 'get',
        params: params,
    })
}